package com.zjhn.ds.param;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @BelongsProject: ds_jlw
 * @BelongsPackage: com.zjhn.ds.param
 * @Author: sxt
 * @CreateTime: 2023-09-23  13:38
 * @Description:
 * @Version: 1.0
 */
@Data
public class GetProTaskParam {

    @ApiModelProperty("是否结束, 1-是，0-否")
    @JsonProperty("is_over")
    @NotNull(message = "结束标志位不能为空")
    private Integer isOver;

    @ApiModelProperty("搜索条件 总货号/客户名称")
    private String search;

    @ApiModelProperty("开始时间")
    @JsonProperty("start_date")
    private String startDate;

    @ApiModelProperty("开始时间")
    @JsonProperty("end_date")
    private String endDate;
}
